package edu.ccut.saturn.workflow.startWorkFlowModule.code;

import edu.ccut.saturn.component.DefaultComponent;
import edu.ccut.saturn.component.IParameterContext;
import edu.ccut.saturn.workflow.model.ActivityInfo;

public class GetMulWorkItemType extends DefaultComponent {
	@Override
	public void execute(IParameterContext parameterContext) throws Exception {
		ActivityInfo activityInfo = (ActivityInfo)parameterContext.getParameterValue(0);
		String isMulWorkItems = activityInfo.getIsMulWorkItems();
		parameterContext.setParameter(1, isMulWorkItems);
	}
}